package com.zhenhua.server.dao;

import java.util.List;

import com.common.entity.Charge;

public interface IChargeServer {
	public String getNameById(int id);
	public List<Charge> getAll(int flag);
	public int getNumByName(String chargeName);
	
	public List<Charge> listAll();
	
	public int addCharge(Charge charge);
	
	public boolean deleteByIds(int...id);
	public Charge getChargeById(int id);
	
	public int updateCharge(Charge charge);
}
